<template>
  <div class="back-index" @click="goIndex" :draggable="true" v-show="show" >
      <div class="iconfont iconshouye"></div>
  </div>
</template>

<script>
export default {
  props: {
      show:{
          type:Boolean,
          default:false,
      }
  },
  data() {
    return {
       
    };
  },
  watch: {
    
  }, 
  mounted() {
   
  },
  beforeDestroy() {
  },
  methods: {
    goIndex(){
      this.$router.push("/entirety")
    }
  }
};
</script>

<style lang="less" scoped> 
.back-index{
    width: .70rem;
    height: .70rem;
    border-radius: 50%;
    background: #fa1900;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 72px;
    left: .30rem;
}
.iconshouye{
    color: #fff;
    font-size: .36rem;
}
</style>